﻿<%@ Control Language="C#" ClassName="PatItemInventarioFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataCodigoInternoItem" runat="server" Text="Codigo Interno Item:" AssociatedControlID="dataCodigoInternoItem" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCodigoInternoItem" Text='<%# Bind("CodigoInternoItem") %>' MaxLength="28"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataCodigoInternoItem" runat="server" Display="Dynamic" ControlToValidate="dataCodigoInternoItem" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataDescripcionItem" runat="server" Text="Descripcion Item:" AssociatedControlID="dataDescripcionItem" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataDescripcionItem" Text='<%# Bind("DescripcionItem") %>' MaxLength="100"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataDescripcionItem" runat="server" Display="Dynamic" ControlToValidate="dataDescripcionItem" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataLineaBodega" runat="server" Text="Linea Bodega:" AssociatedControlID="dataLineaBodega" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataLineaBodega" Text='<%# Bind("LineaBodega") %>' MaxLength="100"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataLineaBodega" runat="server" Display="Dynamic" ControlToValidate="dataLineaBodega" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataArancel" runat="server" Text="Arancel:" AssociatedControlID="dataArancel" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataArancel" Text='<%# Bind("Arancel") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataArancel" runat="server" Display="Dynamic" ControlToValidate="dataArancel" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataArancel" runat="server" Display="Dynamic" ControlToValidate="dataArancel" ErrorMessage="Invalid value" MaximumValue="999999999" MinimumValue="-999999999" Type="Double"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataMarca" runat="server" Text="Marca:" AssociatedControlID="dataMarca" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataMarca" Text='<%# Bind("Marca") %>' MaxLength="100"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataMarca" runat="server" Display="Dynamic" ControlToValidate="dataMarca" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataFamilia" runat="server" Text="Familia:" AssociatedControlID="dataFamilia" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataFamilia" Text='<%# Bind("Familia") %>' MaxLength="100"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataFamilia" runat="server" Display="Dynamic" ControlToValidate="dataFamilia" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataSubFamilia" runat="server" Text="Sub Familia:" AssociatedControlID="dataSubFamilia" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataSubFamilia" Text='<%# Bind("SubFamilia") %>' MaxLength="100"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCategoria" runat="server" Text="Categoria:" AssociatedControlID="dataCategoria" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCategoria" Text='<%# Bind("Categoria") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataUnidadPor" runat="server" Text="Unidad Por:" AssociatedControlID="dataUnidadPor" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataUnidadPor" Text='<%# Bind("UnidadPor") %>' MaxLength="100"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataUnidadPor" runat="server" Display="Dynamic" ControlToValidate="dataUnidadPor" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataLoteEmpaque" runat="server" Text="Lote Empaque:" AssociatedControlID="dataLoteEmpaque" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataLoteEmpaque" Text='<%# Bind("LoteEmpaque") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataLoteEmpaque" runat="server" Display="Dynamic" ControlToValidate="dataLoteEmpaque" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataLoteEmpaque" runat="server" Display="Dynamic" ControlToValidate="dataLoteEmpaque" ErrorMessage="Invalid value" MaximumValue="2147483647" MinimumValue="-2147483648" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataVolumen" runat="server" Text="Volumen:" AssociatedControlID="dataVolumen" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataVolumen" Text='<%# Bind("Volumen") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataVolumen" runat="server" Display="Dynamic" ControlToValidate="dataVolumen" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataPeso" runat="server" Text="Peso:" AssociatedControlID="dataPeso" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataPeso" Text='<%# Bind("Peso") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataPeso" runat="server" Display="Dynamic" ControlToValidate="dataPeso" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataPeso" runat="server" Display="Dynamic" ControlToValidate="dataPeso" ErrorMessage="Invalid value" MaximumValue="999999999" MinimumValue="-999999999" Type="Double"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataPorcentajeDescuento" runat="server" Text="Porcentaje Descuento:" AssociatedControlID="dataPorcentajeDescuento" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataPorcentajeDescuento" Text='<%# Bind("PorcentajeDescuento") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataPorcentajeDescuento" runat="server" Display="Dynamic" ControlToValidate="dataPorcentajeDescuento" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataPorcentajeDescuento" runat="server" Display="Dynamic" ControlToValidate="dataPorcentajeDescuento" ErrorMessage="Invalid value" MaximumValue="999999999" MinimumValue="-999999999" Type="Double"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataPorcentajeIva" runat="server" Text="Porcentaje Iva:" AssociatedControlID="dataPorcentajeIva" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataPorcentajeIva" Text='<%# Bind("PorcentajeIva") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataPorcentajeIva" runat="server" Display="Dynamic" ControlToValidate="dataPorcentajeIva" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataPorcentajeIva" runat="server" Display="Dynamic" ControlToValidate="dataPorcentajeIva" ErrorMessage="Invalid value" MaximumValue="999999999" MinimumValue="-999999999" Type="Double"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCodigoAnteriorItem" runat="server" Text="Codigo Anterior Item:" AssociatedControlID="dataCodigoAnteriorItem" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCodigoAnteriorItem" Text='<%# Bind("CodigoAnteriorItem") %>' MaxLength="28"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataCodigoAnteriorItem" runat="server" Display="Dynamic" ControlToValidate="dataCodigoAnteriorItem" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCodigoEquivalenteItem" runat="server" Text="Codigo Equivalente Item:" AssociatedControlID="dataCodigoEquivalenteItem" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCodigoEquivalenteItem" Text='<%# Bind("CodigoEquivalenteItem") %>' MaxLength="28"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataCodigoEquivalenteItem" runat="server" Display="Dynamic" ControlToValidate="dataCodigoEquivalenteItem" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataOrigen" runat="server" Text="Origen:" AssociatedControlID="dataOrigen" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataOrigen" Text='<%# Bind("Origen") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataOrigen" runat="server" Display="Dynamic" ControlToValidate="dataOrigen" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataUsoXVehiculo" runat="server" Text="Uso X Vehiculo:" AssociatedControlID="dataUsoXVehiculo" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataUsoXVehiculo" Text='<%# Bind("UsoXVehiculo") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataUsoXVehiculo" runat="server" Display="Dynamic" ControlToValidate="dataUsoXVehiculo" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataUsoXVehiculo" runat="server" Display="Dynamic" ControlToValidate="dataUsoXVehiculo" ErrorMessage="Invalid value" MaximumValue="32767" MinimumValue="-32768" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataStockMinimo" runat="server" Text="Stock Minimo:" AssociatedControlID="dataStockMinimo" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataStockMinimo" Text='<%# Bind("StockMinimo") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataStockMinimo" runat="server" Display="Dynamic" ControlToValidate="dataStockMinimo" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataStockMinimo" runat="server" Display="Dynamic" ControlToValidate="dataStockMinimo" ErrorMessage="Invalid value" MaximumValue="32767" MinimumValue="-32768" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataFechaCreacion" runat="server" Text="Fecha Creacion:" AssociatedControlID="dataFechaCreacion" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataFechaCreacion" Text='<%# Bind("FechaCreacion", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataFechaCreacion" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataFechaCreacion" runat="server" Display="Dynamic" ControlToValidate="dataFechaCreacion" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCostoReposicion" runat="server" Text="Costo Reposicion:" AssociatedControlID="dataCostoReposicion" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCostoReposicion" Text='<%# Bind("CostoReposicion") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataCostoReposicion" runat="server" Display="Dynamic" ControlToValidate="dataCostoReposicion" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataCostoReposicion" runat="server" Display="Dynamic" ControlToValidate="dataCostoReposicion" ErrorMessage="Invalid value" MaximumValue="999999999" MinimumValue="-999999999" Type="Double"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataItemGenerico" runat="server" Text="Item Generico:" AssociatedControlID="dataItemGenerico" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataItemGenerico" SelectedValue='<%# Bind("ItemGenerico") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Si" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataClasificacionABc" runat="server" Text="Clasificacion A Bc:" AssociatedControlID="dataClasificacionABc" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataClasificacionABc" Text='<%# Bind("ClasificacionABc") %>' MaxLength="1"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataClasificacionABc" runat="server" Display="Dynamic" ControlToValidate="dataClasificacionABc" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataActivo" runat="server" Text="Activo:" AssociatedControlID="dataActivo" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataActivo" SelectedValue='<%# Bind("Activo") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Si" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


